home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 008a / pcl560.zip / INSTALL.BAT next >
DOS Batch File  |  1992-01-22  |  11KB  |  308 lines

  1. ECHO OFF
  2. CLS
  3. ECHO                 PC-LEARN Installation program 
  4. ECHO   ---------------------------------------------------------------
  5. ECHO   PC-LEARN is shareware! Please consider paying the appropriate
  6. ECHO   registration fee to the program's author for continued program use
  7. ECHO   and the TWO BONUS DISKS which will be sent to you by mail! 
  8. ECHO   SHAREWARE MEANS TRY BEFORE YOU BUY! SHAREWARE IS AN HONOR SYSTEM!
  9. ECHO   If you DO NOT have a registration number and bonus disks from 
  10. ECHO   the program's author, you are only EVALUATING PC-LEARN for a 
  11. ECHO   trial period and are expected to register if the program is useful.
  12. echo   You can print a registration/order form later via this installation 
  13. echo   program or you can print a registration/order form within PC-Learn 
  14. echo   itself. If you have recently registered - Thank You!
  15. ECHO   ----------------------------------------------------------------
  16. ECHO   PC-LEARN must first be installed prior to running the program.
  17. echo   Installation SOURCE disk should now be in the A: floppy drive.
  18. echo   If you install to standard 360K floppies you will need TWO 
  19. ECHO   FORMATTED FLOPPIES PRIOR TO PROCEEDING. Hard drive installation 
  20. echo   is preferred method (uses advanced high speed color menu.)
  21. echo   ---------------------------------------------------------------
  22. ECHO   Press  A  if installing to HARD DRIVE (preferred option)
  23. echo   Press  B  if installing to TWO standard LOW DENSITY 360k floppies 
  24. ECHO   Press  C  if installing to HIGH DENSITY floppy (720K, 1.44M, 1.2M)
  25. ECHO   Press  Q  to quit/abort process
  26. pclkey ,Q81,q81,C67,c67,B66,b66,A65,a65/E
  27. IF ERRORLEVEL 81 GOTO abort
  28. IF ERRORLEVEL 67 GOTO LABELA
  29. IF ERRORLEVEL 66 GOTO LABELC
  30. IF ERRORLEVEL 65 GOTO LABELB
  31. :labelc
  32. CLS
  33. echo ------------------------------------------------------------
  34. ECHO Installation will produce TWO floppy diskettes on TARGET
  35. echo drive B: Next step assumes SOURCE drive A: contains files 
  36. echo to be unpacked and TARGET drive B: contains a blank formatted 
  37. echo diskette of standard 360K size. Have a second diskette ready.
  38. echo ------------------------------------------------------------
  39. pause
  40. cls
  41. part1 b:\
  42. part4 b:\
  43. b:
  44. ren go1.bat go.bat
  45. del go2.bat
  46. a:
  47. CLS
  48. echo --------------------------------------------------------------
  49. ECHO Remove diskette from B: drive, label it:
  50. echo "PC-LEARN PART ONE, start with:   GO     at DOS prompt"
  51. echo When you have finished labelling the first diskette,
  52. ECHO insert second formatted blank floppy diskette into
  53. echo drive B: and press a key to proceed installing part two.
  54. echo --------------------------------------------------------------
  55. pause
  56. cls
  57. part2 b:\
  58. part4 b:\
  59. b:
  60. ren go2.bat go.bat
  61. del go1.bat
  62. a:
  63. CLS
  64. echo ---------------------------------------------------------------
  65. ECHO Remove diskette from B: drive, label it:
  66. echo "PC-LEARN PART TWO, start with:   GO     at DOS prompt"
  67. echo When you have finished labelling the second diskette,
  68. echo press a key to end installation process and return to DOS.
  69. echo --------------------------------------------------------------
  70. pause
  71. goto quit
  72. :LABELB
  73. CLS
  74. ECHO ---------------------------------------------------------------
  75. ECHO Hard drive installation will prepare a directory named \PCL on 
  76. echo your hard drive and install files to that area. Installation 
  77. echo program assumes drive A: contains PC-LEARN and is the SOURCE 
  78. echo DRIVE. Hard drive will be the TARGET drive to which files will 
  79. echo be unpacked. If you have an old copy of PC-LEARN on your hard 
  80. echo drive which is important to you, you may wish to quit/abort
  81. echo and backup that older copy for archival purposes first.
  82. ECHO ---------------------------------------------------------------
  83. echo What hard drive letter will you install TO as your target?
  84. ECHO ---------------------------------------------------------------
  85. echo press  C  for  Hard drive C:
  86. echo press  D  for  Hard drive D:
  87. echo press  E  for  Hard drive E:
  88. echo press  F  for  Hard drive F:
  89. echo press  G  for  Hard drive G:
  90. echo press  Q  to quit/abort
  91. pclkey ,Q81,q81,G71,g71,F70,f70,E69,e69,D68,d68,C67,c67/E
  92. IF ERRORLEVEL 81 GOTO abort
  93. IF ERRORLEVEL 71 goto hdg
  94. IF ERRORLEVEL 70 GOTO hdf
  95. IF ERRORLEVEL 69 GOTO hde
  96. IF ERRORLEVEL 68 GOTO hdd
  97. IF ERRORLEVEL 67 GOTO hdc
  98. :hdc
  99. cls
  100. C:
  101. CD\
  102. MD PCL
  103. ECHO If a previous version of the PC-LEARN package is already
  104. ECHO installed, answer yes to all prompts to overwrite old files 
  105. ECHO with the newer data files.
  106. A:
  107. part1 c:\pcl\
  108. part2 c:\pcl\
  109. part3 c:\pcl\
  110. CLS
  111. ECHO Installation is now complete. 
  112. echo ------------------------------------------------------------
  113. echo Press  Q  to quit. To run PC-LEARN change to your hard 
  114. echo drive subdirectory C:\PCL then   PCL    to start!
  115. echo To do this, issue the following commands when you see
  116. echo the DOS prompt:   
  117. echo      C:        Then press return/enter key
  118. echo      CD\PCL    Then press return/enter key                         
  119. echo      PCL       Then press return/enter key                        
  120. echo  Jot down these instructions for future use!
  121. echo ----------------------------------------------------------
  122. pclkey ,Q81,q81/E
  123. IF ERRORLEVEL 81 GOTO quit
  124. GOTO QUIT
  125. :hdd
  126. cls
  127. D:
  128. CD\
  129. MD PCL
  130. ECHO If a previous version of the PC-LEARN package is already
  131. ECHO installed, answer yes to all prompts to overwrite old files 
  132. ECHO with the newer data files.
  133. A:
  134. part1 d:\pcl\
  135. part2 d:\pcl\
  136. part3 d:\pcl\
  137. CLS
  138. ECHO Installation is now complete. 
  139. echo ------------------------------------------------------------
  140. echo Press  Q  to quit. To run PC-LEARN change to your hard 
  141. echo drive subdirectory D:\PCL then   PCL    to start!
  142. echo To do this, issue the following commands when you see
  143. echo the DOS prompt:   
  144. echo      D:        Then press return/enter key   
  145. echo      CD\PCL    Then press return/enter key   
  146. echo      PCL       Then press return/enter key   
  147. echo  Jot down these instructions for future use!
  148. echo ----------------------------------------------------------
  149. pclkey ,Q81,q81/E
  150. IF ERRORLEVEL 81 GOTO quit
  151. GOTO QUIT
  152. :hde
  153. cls
  154. E:
  155. CD\
  156. MD PCL
  157. ECHO If a previous version of the PC-LEARN package is already
  158. ECHO installed, answer yes to all prompts to overwrite old files 
  159. ECHO with the newer data files.
  160. A:
  161. part1 e:\pcl\
  162. part2 e:\pcl\
  163. part3 e:\pcl\
  164. CLS
  165. ECHO Installation is now complete. 
  166. echo ------------------------------------------------------------
  167. echo Press  Q  to quit. To run PC-LEARN change to your hard 
  168. echo drive subdirectory E:\PCL then   PCL    to start!
  169. echo To do this, issue the following commands when you see
  170. echo the DOS prompt:   
  171. echo      E:        Then press return/enter key   
  172. echo      CD\PCL    Then press return/enter key   
  173. echo      PCL       Then press return/enter key   
  174. echo  Jot down these instructions for future use!
  175. echo ----------------------------------------------------------
  176. pclkey ,Q81,q81/E
  177. IF ERRORLEVEL 81 GOTO quit
  178. GOTO QUIT
  179. :hdf
  180. cls
  181. F:
  182. CD\
  183. MD PCL
  184. ECHO If a previous version of the PC-LEARN package is already
  185. ECHO installed, answer yes to all prompts to overwrite old files 
  186. ECHO with the newer data files.
  187. A:
  188. part1 f:\pcl\
  189. part2 f:\pcl\
  190. part3 f:\pcl\
  191. CLS
  192. ECHO Installation is now complete. 
  193. echo ------------------------------------------------------------
  194. echo Press  Q  to quit. To run PC-LEARN change to your hard 
  195. echo drive subdirectory F:\PCL then   PCL    to start!
  196. echo To do this, issue the following commands when you see
  197. echo the DOS prompt:   
  198. echo      F:        Then press return/enter key   
  199. echo      CD\PCL    Then press return/enter key   
  200. echo      PCL       Then press return/enter key   
  201. echo  Jot down these instructions for future use!
  202. echo ----------------------------------------------------------
  203. pclkey ,Q81,q81/E
  204. IF ERRORLEVEL 81 GOTO quit
  205. GOTO QUIT
  206. :hdg
  207. cls
  208. G:
  209. CD\
  210. MD PCL
  211. ECHO If a previous version of the PC-LEARN package is already
  212. ECHO installed, answer yes to all prompts to overwrite old files 
  213. ECHO with the newer data files.
  214. A:
  215. part1 g:\pcl\
  216. part2 g:\pcl\
  217. part3 g:\pcl\
  218. CLS
  219. ECHO Installation is now complete. 
  220. echo ------------------------------------------------------------
  221. echo Press  Q  to quit. To run PC-LEARN change to your hard 
  222. echo drive subdirectory G:\PCL then   PCL    to start!
  223. echo To do this, issue the following commands when you see
  224. echo the DOS prompt:   
  225. echo      G:        Then press return/enter key   
  226. echo      CD\PCL    Then press return/enter key   
  227. echo      PCL       Then press return/enter key   
  228. echo  Jot down these instructions for future use!
  229. echo ----------------------------------------------------------
  230. pclkey ,Q81,q81/E
  231. IF ERRORLEVEL 81 GOTO quit
  232. GOTO QUIT
  233. :LABELA
  234. CLS
  235. echo ------------------------------------------------------------
  236. ECHO Installation will produce ONE high density floppy diskette on 
  237. echo TARGET drive B: or drive D: which MUST be one of the following 
  238. echo size(s): 720K, 1.44M, 1.2M. Next step assumes SOURCE drive A: 
  239. echo contains files to be unpacked and TARGET drive B: or D: 
  240. echo contains a blank formatted diskette LARGER than 360K.
  241. echo ------------------------------------------------------------
  242. echo press  B  for Target Floppy drive B:
  243. echo press  D  for Target Floppy drive D:
  244. echo press  Q  to quit/abort
  245. echo ------------------------------------------------------------
  246. pclkey ,Q81,q81,D68,d68,B66,b66/E
  247. IF ERRORLEVEL 81 GOTO abort
  248. IF ERRORLEVEL 68 GOTO fd
  249. IF ERRORLEVEL 66 GOTO fb
  250. :fb
  251. part1 b:\
  252. part2 b:\
  253. part3 b:\
  254. CLS
  255. echo --------------------------------------------------------------
  256. ECHO Remove diskette from B: drive, label it:
  257. echo "PC-LEARN, start with:   PCL     at DOS prompt"
  258. echo --------------------------------------------------------------
  259. pause
  260. goto quit
  261. :fd
  262. cls
  263. part1 d:\
  264. part2 d:\
  265. part3 d:\
  266. CLS
  267. echo --------------------------------------------------------------
  268. ECHO Remove diskette from D: drive, label it:
  269. echo "PC-LEARN, start with:   PCL     at DOS prompt"
  270. echo --------------------------------------------------------------
  271. pause
  272. goto quit
  273. :QUIT
  274. CLS
  275. ECHO            Installation of program now complete.
  276. ECHO      Be sure to register - support the shareware concept.
  277. ECHO   Two bonus disks will be sent by mail to those registering!
  278. PAUSE
  279. GOTO REG
  280. :ABORT
  281. cls
  282. ECHO             Installation process aborted
  283. PAUSE
  284. GOTO REG
  285. :REG
  286. CLS
  287. echo   You may find it useful to print a paper registration/order form 
  288. echo   on your printer now. That way if you decide to register for your 
  289. echo   BONUS DISKS you will have the registration form handy! Leave the 
  290. echo   printed registration/order form handy on your desk for easy use!
  291. echo   Be sure your printer is turned on BEFORE you continue...
  292. echo   ---------------------------------------------------------------
  293. ECHO   Press  Y  if your answer is YES, please print form on my printer. 
  294. ECHO   Press  N  if your answer is NO, do not print registration form.
  295. pclkey y67,Y67,N66,n66/E
  296. IF ERRORLEVEL 67 GOTO PRINT
  297. IF ERRORLEVEL 66 GOTO END
  298. :PRINT
  299. cls
  300. echo       Now printing registration form on printer.....
  301. TYPE REGISTER.TXT>PRN
  302. GOTO END
  303. :END
  304. CLS
  305. echo  End of installation routine
  306. echo  PC-Learn is a product from Jim Hood, Seattle Scientific Photography
  307. echo  PO Box 1506, Mercer Island, WA 98040    (206) 236-0470
  308.